//入口文件
import  Vue from 'vue'
import  App from './App'//导入App跟组件
import router from './router'//导入路由


//导入vue-resource
import VueResource from 'vue-resource'
Vue.use(VueResource)

Vue.config.productionTip = false;
//  Vue.use(Router)

//导入MINT-UL组件
import { Header, Swipe, SwipeItem } from 'mint-ui'
import 'mint-ui/lib/style.css'
//导入MUi
import './lib/mui/css/mui.min.css'
import './lib/mui/css/icons-extra.css'
//引入你需要组件的模块
Vue.component(Header.name, Header)
Vue.component(Swipe.name, Swipe)
Vue.component(SwipeItem.name, SwipeItem)



 //引入全部组件
import Mint from 'mint-ui'
Vue.use(Mint);


new Vue({
  el:'#app',
  router,//挂载路由
  components:{App},
  template:'<app/>'
})
